package com.vpclub.dao;

import com.vpclub.bean.Teacher;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author : leimingchao
 * @date Date : 2021年08月07日 16:52
 */
public interface TeacherDao {

    Teacher getTeacherById(Integer id);

    List<Teacher> getTeacherByCondition(Teacher teacher);

    List<Teacher> getTeacherByIdIn(@Param(value = "ids") List<Integer> ids);

    List<Teacher> getTeacherByConditionChoose(Teacher teacher);

    int updateTeacher(Teacher teacher);
}
